package com.hsteach.web.controller.visit.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

@ApiModel(value = "AddVisitRecordDto", description = "添加家访记录")
@Data
public class AddVisitRecordDto {

    @ApiModelProperty(value = "家访id", required = true)
    private Long recordId;

    @ApiModelProperty(value = "家访名", required = true)
    private String recordName;

    @ApiModelProperty(value = "打卡地点", required = true)
    private String visitAddr;

    @ApiModelProperty(value = "家访记录", required = true)
    private String visitRecord;

    @ApiModelProperty(value = "重点关注项标签", required = true)
    private List<Integer> tags;
    @ApiModelProperty(value = "家访时间 yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date visitTime;

    @ApiModelProperty(value = "重点关注项记录", required = true)
    private String interestRecord;

    @ApiModelProperty(value = "是否有安全记录，1有，0无", required = true)
    private Integer hasSafeEvent;

    @ApiModelProperty(value = "安全记录", required = true)
    private String safeRecord;

    @ApiModelProperty(value = "是否草稿，1是，0否", required = true)
    private Integer isDraft;


    @ApiModelProperty(value = "家访图片url列表", required = true)
    private List<String> visitImg;

    @ApiModelProperty(value = "家访现场图片url列表")
    private List<String> visitSceneImg;

    @ApiModelProperty(value = "家访图片url列表", required = true)
    private List<String> interestImg;

    @ApiModelProperty(value = "家访图片url列表", required = true)
    private List<String> safeImg;

}
